package com.service;

import com.bean.Product;
import com.dao.ProductDao;
import com.dao.ProductDaoImp;

import java.util.List;

public class ProductAutoFillServiceImp implements ProductAutoFillService {

    ProductDao productDao = new ProductDaoImp();

    public List<Product> findAllProductByName(String productName) {
        return productDao.findAllProductByName(productName);
    }

}
